<script type="text/javascript">
    function callbackAjaxDone(json){
        $.pdialog.closeCurrent();
        $.pdialog.close('dlg_cpmore');
        /*
        DWZ.ajaxDone(json);
        if(json.statusCode==DWZ.statusCode.ok){
            if(json.navTabId){
                $.pdialog.relad(json.forwardUrl,json.navTabId);
            }
        }
        */
    }
</script>
<div class="pageContent">
    <form id="myForm" method="post" action="addCpMr" class="pageForm required-validate" onsubmit="return validateCallback(this, callbackAjaxDone);">
        <input type="hidden" value="<%=pid%>" name="pid"/>
        <div class="pageFormContent" layoutH="56">
            <p>
                <label>返修时间：</label>
                <input type="text" name="mrdate" class="date required textInput" readonly size="30" /><a class="inputDateButton" href="javascript:;">选择</a>
            </p>
            <p>
                <label>返修入库人：</label>
                <input type="text" size="30" name="mrep" class="required textInput"/>
            </p>
            <p>
                <label>返修质检人：</label>
                <input type="text" size="30" name="mrqp" class="required textInput"/>
            </p>
            <p>
                <label>入库管理员：</label>
                <input type="text" size="30" name="mrwa" class="required textInput"/>
            </p>
            <p>
                <label>返修原因：</label>
                <textarea name="mrcon" class="required textInput" cols="30" rows="2"></textarea>
            </p>
        </div>
        <div class="formBar">
            <ul>
                <!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit" class="submitForm" fresh="true" rel="addmr_sub">保存</button></div></div></li>
                <li>
                    <div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
                </li>
            </ul>
        </div>
    </form>
</div>